<?php
namespace app\model;

use think\Model;

class MemberBuy extends Model
{

	protected $connection = 'mysql';

	protected $pk = 'id';

	protected $name = 'member_buy';

    public function member()
    {
        return $this->hasOne(Member::class, 'id', 'uid');
    }
}
